package org.dromara.system.domain.bo;

import org.dromara.system.domain.RiskUnit;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 风险分析单元业务对象 risk_unit
 *
 * @author Lion Li
 * @date 2025-09-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = RiskUnit.class, reverseConvertGenerate = false)
public class RiskUnitBo extends BaseEntity {

    /**
     * 主键
     */
    private Long id;

    /**
     * 风险分析单元名称
     */
    private String unitName;

    /**
     * 风险分析对象ID
     */
    private Long riskAnalysisId;

    /**
     * 责任部门
     */
    private String hazardDept;

    /**
     * 责任人
     */
    private String hazardLiablePerson;


}
